package com.mellivora.pundit.service;

import com.github.pagehelper.PageInfo;
import com.mellivora.pundit.entity.MiUser;
import com.mellivora.pundit.entity.page.MiUserPage;

/**
 * @program: mellivora
 * @description: 用户基本信息server接口
 * @author: jin.rao@sunyard.com
 * @create: 2019-03-13 15:17
 **/
public interface MiUserService {
    int deleteByPrimaryKey(Integer id);

    int insert(MiUser record);

    int insertSelective(MiUser record);

    MiUser selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MiUser record);

    int updateByPrimaryKey(MiUser record);
    /**
     * 用户列表
     */
    PageInfo<MiUser> finAllUser(MiUserPage miUserPage);
}
